package com.xt.website.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: jiangyu
 * @Date: 2019/8/18 13:45
 * @Description:
 */
@Data
public class Product {
    private Integer id;
    private String proName;
    private String proPicture;
    private String proInfo;
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createTime;
    private String proHref;
    private Integer proKind;
    private Integer csid;
}
